package com.shujia.day19.danlidemo;
/*
    饿汉式
 */
public class Student1 {
    private static Student1 student1 = new Student1();

    private Student1(){}

    public static Student1 getStudent1(){
        return student1;
    }
}
